<?php
// +----------------------------------------------------------------------
// | CatchAdmin [Just Like ～ ]
// +----------------------------------------------------------------------
// | Copyright (c) 2017~{$year} http://catchadmin.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( https://github.com/yanwenwu/catch-admin/blob/master/LICENSE.txt )
// +----------------------------------------------------------------------
// | Author: JaguarJack [ njphper@gmail.com ]
// +----------------------------------------------------------------------
/* @var think\Route $router */
// you should use `$router`
$router->group('sms', function () use ($router) {
    // config路由
    $router->resource('config', '\\catchAdmin\\sms\\controller\\Config');
    // template 路由
    $router->resource('template', '\\catchAdmin\\sms\\controller\\Template');
    $router->resource("sms", \catchAdmin\sms\controller\Sms::class);
    // smsRecrod 路由
    $router->resource('smsRecord', catchAdmin\sms\controller\SmsRecord::class);
    $router->any('GetBalance', "catchAdmin\sms\controller\Sms@getBalance");
    $router->any('checkSmsContent', "catchAdmin\sms\controller\Sms@checkSmsContent");

})->middleware('auth');